﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace _4T.Data
{
    public class MedicalInfo
    {
        //private int m_MedicalInfoCode;
        private string m_Diagnosis;
        private DateTime m_MedicalTime;
        private string m_TreatmentMethod;
        private string m_Situation;
        private string m_Support;
        private string m_Note;

        //public int MedicalInfoCode
        //{
        //    get { return m_MedicalInfoCode; }
        //    set { m_MedicalInfoCode = value; }
        //}

        public string Diagnosis
        {
            get { return m_Diagnosis; }
            set { m_Diagnosis = value; }
        }

        public DateTime MedicalTime
        {
            get { return m_MedicalTime; }
            set { m_MedicalTime = value; }
        }

        public string TreatmentMethod
        {
            get { return m_TreatmentMethod; }
            set { m_TreatmentMethod = value; }
        }

        public string Situation
        {
            get { return m_Situation; }
            set { m_Situation = value; }
        }

        public string Support
        {
            get { return m_Support; }
            set { m_Support = value; }
        }

        public string Note
        {
            get { return m_Note; }
            set { m_Note = value; }
        }

        public MedicalInfo() { }

        public MedicalInfo(string diagnosis, DateTime medicalTime, string treatmentMethod, string situation, string support, string note)
        {
            this.Diagnosis = diagnosis;
            this.MedicalTime = medicalTime;
            this.TreatmentMethod = treatmentMethod;
            this.Situation = situation;
            this.Support = support;
            this.Note = note;
        }
    }
}